home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1997 August / Walnut Creek CDROM.7z / VOL_400 / 415_02 / CPP_LIBS / INCLUDE / CPP_ENTR.H < prev    next >
Encoding:
C/C++ Source or Header  |  1993-09-21  |  858 b   |  44 lines

  1. #ifndef    _H_CPP_ENTRY
  2. #define    _H_CPP_ENTRY
  3.  
  4. #ifndef lint
  5. static const char cpp_entry_sccs_id[] = "%W% %G% %U%: Component-%Y% %Q% " ;
  6. #endif
  7.  
  8.  
  9. // This file contains the declaration of some of the functions that are
  10. // necessary to make cfront generated code work in the kernel mode of
  11. // of AIX 3.2. Must be include in the main file of every kernel extension.
  12.  
  13. #ifdef    NULL
  14. #undef    NULL
  15. #define   NULL 0
  16. #else
  17. #define NULL 0
  18. #endif  // handle NULL definition here
  19.  
  20. #include "trace.h"
  21.  
  22. #ifdef    _KERNEL
  23.  
  24. extern "C"  {
  25.          extern  void    _general_entry() ;
  26.          extern  void    _general_exit( int ) ;
  27.         }
  28.  
  29. #endif   // _KERNEL
  30.  
  31. class   Exemplar
  32.       {
  33.     public  :
  34.        Exemplar ( ) ;
  35.       } ; // just a placekeeper
  36.  
  37. // pull in the rtti stuff
  38. #include    "rtti_entry.h"
  39.  
  40. #include   "ImplSpec.h"
  41. #include   "BaseMeta.h"
  42.  
  43. #endif    // _H_CPP_ENTRY
  44.